//
//  RouteData.h
//  GeoData
//
//  Created by zhenhua zhou on 12-7-7.
//  Copyright (c) 2012年 ECUST. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Segment.h"

@interface RouteData : NSObject
{
   // NSMutableArray * mSegments;
}

@property (nonatomic, retain) NSMutableArray * Segments;
@property (nonatomic, retain) GeoPos * MaxPos;
@property (nonatomic, retain) GeoPos * MinPos;

- (RouteData *) init;
- (void) dealloc;
- (void) addSegment:(Segment *)obj;
- (void) insertSegment:(Segment *)obj atIndex:(int32_t)index;

//+ (RouteData *)buildRouteDataFromJson: (NSArray *)data;



@end
